<?php


namespace app\http\middleware;

/**
 * 认证中间件
 * Class Auth
 * @package app\http\middleware
 */
class Auth
{

    public function handle($request, \Closure $next)
    {
        dump([
            'middleware' => 'Auth',
            'request' => $request
        ]);
        return $next($request);
    }
}